﻿namespace UtfprLibrary.Windows.Forms {
    /// <summary>
    /// The configurations of a Login form.
    /// </summary>
    public interface IUtfprFormLoginConfiguration {
        /// <summary>
        /// Sets up the default Login form intended to be used by the system.
        /// </summary>
        /// <typeparam name="T">Type of the Login form that will be automatically 
        /// instanciated by the library.</typeparam>
        void SetFormLoginDefault<T>() where T : UtfprFormLoginBase;
        /// <summary>
        /// Used to enable or disable the form.
        /// </summary>
        bool Enabled { get; set; }
    }
}
